package com.example.cadmin.utils;

import org.springframework.stereotype.Repository;

import java.util.LinkedHashMap;

/**
 * 全局变量RFID
 */
@Repository
public class RFIDMAP {

    LinkedHashMap<String, Object> rfidMap=new LinkedHashMap<>();

    public void set(String key,Object value) {
        rfidMap.put(key, value);
    }

    public LinkedHashMap<String, Object> get() {
        return rfidMap;
    }

    public void del(String key) {
        rfidMap.remove(key);
    }
}
